package cn.leyaber.hrm.domain;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author ma.rui.kai
 * @since 2020-12-16
 */
@TableName("administration_classification")
public class Classification extends Model<Classification> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @TableField("user_wholename_id")
    private Long userWholenameId;
    private String username;
    private String grade;
    private String label;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Long getUserWholenameId() {
        return userWholenameId;
    }

    public void setUserWholenameId(Long userWholenameId) {
        this.userWholenameId = userWholenameId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Classification{" +
        ", id=" + id +
        ", userWholenameId=" + userWholenameId +
        ", username=" + username +
        ", grade=" + grade +
        ", label=" + label +
        "}";
    }
}
